package com.han.fu.api.business.model.ao;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 新闻推荐分页
 *
 * @author: star.zhu
 * @date: 2021-08-12
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class NewsBrowseAo extends BasePageAo{

    /**
     * 类型(1:关注2:推荐3:同城)
     */
    @NotNull
    private int type;

    /**
     * 城市
     *
     * @ignore
     */
    @JsonIgnore
    private String city;

    /**
     * 用户ID
     *
     * @ignore
     */
    @JsonIgnore
    private String userId;

}
